package com.ssy.lingxi.marketing.api.model.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

@Getter
@Setter
public class CouponQueryReq implements Serializable {

    private static final long serialVersionUID = -6990232197458954697L;
    /**
     * 优惠券归属类型，定义在 BelongTypeEnum 中（默认：平台优惠券）
     */
    private Integer belongType;

    /**
     * 优惠券详情ids
     */
    @Size(min = 1,message = "优惠券ids必填")
    private List<Long> couponIds;
}
